package com.cn.study.second.stage.code3.zuoye3;

public abstract class Abstract {
    private static int quantity;
    private int expenses;
    /**
     *  expenses 资费
     *  quantity 数量
     */

    public Abstract() {
    }

    public Abstract(int expenses,int quantity) {
        setExpenses(expenses);
        setQuantity(quantity);
    }

    public int getExpenses() {
        return expenses;
    }

    public void setExpenses(int expenses) {
        this.expenses = expenses;
    }

    public static int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public abstract void show();
}
